<template>
  <component
    v-if="editorStore.currentComponent"
    :is="editorStore.currentComponent!.package + 'Config'"
    :config="editorStore.currentComponent!.props"
  />
</template>

<script lang="ts" setup>
import useEditorStore from "@/store/modules/editor";

defineOptions({
  name: "Props",
});

const editorStore = useEditorStore();
</script>

<style scoped lang="scss"></style>
